/**
 * Created by zhaojm on 15/3/21.
 */
game.GameOverScene = cc.Scene.extend({
    _gameOverLayer : null,
    _data : null,
    onEnter:function(){
        this._super();

        //if(game._Config.show_ads && game._Config.language == game._Enum.language.en) {
        //    window['Ads']['fullViewAds']();
        //}

        this._gameOverLayer = new game.GameOverLayer(this._data);
        this.addChild(this._gameOverLayer);
    },

    onExit:function(){
        this._super();
        this.removeAllChildren();
    },

    setData : function(data){
        this._data = data;
    },
});
